package com.ms.client.task.api.service;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.ms.client.task.api.pojo.TaskJobLog;
import com.ms.msclient.MsClient;
import com.ms.msclient.MsClientResponse;
import com.system.comm.model.Page;

@MsClient(value="${service.id.task}", defalut="ms-cloud-task")
public interface ApiTaskJobLogService {

	/**
	 * 分页获取的信息
	 * @param taskJobLog
	 * @return
	 */
	@RequestMapping(value = "/api/taskJobLog/pageQuery")
	public MsClientResponse<Page<TaskJobLog>> pageQuery(TaskJobLog taskJobLog);

	/**
	 * 获取对象
	 * @param id
	 * @return
	 */
	@RequestMapping(value = "/api/taskJobLog/get")
	public MsClientResponse<TaskJobLog> get(@RequestParam("id") Integer id);
}
